/**
 * @author Wang Hai Long  [whailong2010@gmail.com]
 * @date Sep 27, 2014 6:25:11 PM
 */
package com.surent.utils;

/**
 * @author Wang Hai Long [whailong2010@gmail.com]
 * @date Sep 27, 2014 6:25:11 PM
 */
public class LoginValidator implements Validator {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.surent.utils.Validator#getResult()
	 */
	private String phoneNum;
	private String password;

	/**
	 * @param phoneNum
	 * @param password
	 */
	public LoginValidator(String phoneNum, String password) {
		this.phoneNum = phoneNum;
		this.password = password;
	}

	@Override
	public String getResult() {
		
		if ("".equals(phoneNum)) {
			return "";
		}
		
		return null;

	}
}